package com.shopping.search.service;

import com.shopping.common.to.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @author Europa
 */
public interface ElasticSaveService {

    /**
     * 商品上架
     *
     * @param skuEsModels List<SkuEsModel>
     * @return boolean 有异常是true
     * @throws IOException 批量操作异常
     */
    boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
